package com.t18;

import java.io.File;
import java.io.IOException;

/**
 * Created by xuyiwei on 2018/8/29.
 */
public class FileMethod {
    public static void main(String[] args) throws IOException {
        File file = new File(".");
        System.out.println("getPath: "+file.getPath());
        System.out.println("getAbsoluteFile: "+file.getAbsoluteFile());
        System.out.println("getCanonicalFile: "+file.getCanonicalFile());

    }
}
